<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::iFileService结构体 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html">iFileService</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="../../da/d65/structwheels_1_1i_file_service-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::iFileService结构体 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../dc/d8b/file_svr_itfc_8hpp_source.html">fileSvrItfc.hpp</a>&gt;</code></p>
<div class="dynheader">
类 wheels::iFileService 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../dd/d9f/structwheels_1_1i_file_service__inherit__graph.png" border="0" usemap="#awheels_1_1i_file_service_inherit__map" alt="Inheritance graph"/></div>
<map name="awheels_1_1i_file_service_inherit__map" id="awheels_1_1i_file_service_inherit__map">
<area shape="rect" title=" " alt="" coords="211,5,441,805"/>
<area shape="rect" href="../../db/d0b/classwheels_1_1ali_o_s_s.html" title=" " alt="" coords="5,891,209,1621"/>
<area shape="poly" title=" " alt="" coords="222,821,204,892,199,890,217,819"/>
<area shape="rect" href="../../d4/d31/classwheels_1_1curl_ftp.html" title=" " alt="" coords="233,1016,419,1496"/>
<area shape="poly" title=" " alt="" coords="329,820,329,1016,323,1016,323,820"/>
<area shape="rect" href="../../d3/d55/classwheels_1_1curl_http.html" title=" " alt="" coords="443,853,654,1659"/>
<area shape="poly" title=" " alt="" coords="437,819,446,853,441,854,432,821"/>
</map>
</div>
<div class="dynheader">
wheels::iFileService 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d4/da5/structwheels_1_1i_file_service__coll__graph.png" border="0" usemap="#awheels_1_1i_file_service_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1i_file_service_coll__map" id="awheels_1_1i_file_service_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,236,805"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a4caa50c3e01e22c71bb52d16657c48d0" id="r_a4caa50c3e01e22c71bb52d16657c48d0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> { <br />
&#160;&#160;<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a59b1c41de43229a4e52a1c606fa8cd81">ERR_DOWNLOAD_OSS</a> = -10000
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a557568da9c09c7d18db885715b74fb69">ERR_SYS_VAR</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a72ba8dd7c1d1a10f550a4959d862a241">ERR_CANCEL_TRANSFER</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a519e29bbff6bfe2bd3367baa832a728e">ERR_UNSUPPORTED_PROTOCOL</a>
, <br />
&#160;&#160;<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a6d5f22ec546b93a49fab7dcf9c189b18">ERR_INIT_CURL</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0ac2924800f7928a074967b04b60b94139">ERR_CONNECT_SVR</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a0bc456b503b6a2f5adf24eb6cbe43845">ERR_FILE_DOWNLOAD_TRANSFER</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a4872446ba63c055e1a31807fd3c4fa34">ERR_FILE_UPLOAD_TRANSFER</a>
, <br />
&#160;&#160;<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0ac208a4ce08f3a5f4295b17f7b46f4579">ERR_CTX_NULL</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a5b268e5248c078c7cbb7cde62cf324c4">ERR_ALLOC_MEM</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a9242d18f17c2cee6eb4d3a800cc009e0">ERR_CREATE_DEST_FILE</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0aff397765753060ba7ad3fe5388920cd2">ERR_CURL_SET_OPT</a>
, <br />
&#160;&#160;<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0aa3386d6d37fe9fd850252dfd37b2b741">ERR_USER_OR_PSWD</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a068f0f9561e975a8a13e02ea53597567">ERR_CURL_PERFORM</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0afdb7aed7a2a2ec16100b7631c847de65">ERR_OPEN_LOC_FILE</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a482fce143b86951bbbef6530d46d46ad">ERR_NO_SRC_FILE</a>
, <br />
&#160;&#160;<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a28822492bef449671e9141752f029ff0">ERR_DESC_NULL</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a3968149e28f9f41001ee7c3ad7fc7446">ERR_EMPTY_URL</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a13660432e6aaf3be08861a993e1ed516">ERR_FILE_NOT_FOUND</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0acdfdd12e96fab9eb13eb90b0b088845d">ERR_ACCESS_NOT_SUPPORT</a>
, <br />
&#160;&#160;<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0aabda220d3cf6da350f219ab2547770e9">STATUS_TRANS_FINISH</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a172916c3c608d38b12c8c59e814964f3">STATUS_TRANSING</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a162a4d8662445e2d2e5d21d29e222bf8">ERR_INIT_FTP</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0aebf9f08a4e2e6bc291b32e9ae7e6efa3">ERR_DELE_OSS_FILE</a>
, <br />
&#160;&#160;<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0ab1c5ac4e88ff4ec5333e43ecb4f8cc43">ERR_LS_OSS_FILE</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a09b39c7f67f8f42e3466156fde2c4a74">ERR_UPLOAD_OSS</a>
, <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0a1b4ffc5a9b1fe92b4ef2140d02895b78">OK</a> = 0
<br />
 }</td></tr>
<tr class="separator:a4caa50c3e01e22c71bb52d16657c48d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aaef3e45a097583e13ad0a506f6f16e69" id="r_aaef3e45a097583e13ad0a506f6f16e69"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaef3e45a097583e13ad0a506f6f16e69">~iFileService</a> ()</td></tr>
<tr class="separator:aaef3e45a097583e13ad0a506f6f16e69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c8066770e383bad17dabe1fad804779" id="r_a4c8066770e383bad17dabe1fad804779"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a4c8066770e383bad17dabe1fad804779">bufferSize</a> (size_t s)=0</td></tr>
<tr class="separator:a4c8066770e383bad17dabe1fad804779"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf692c0a9ad3c30b48580ffa37b92300" id="r_abf692c0a9ad3c30b48580ffa37b92300"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abf692c0a9ad3c30b48580ffa37b92300">overtime</a> (long seconds)=0</td></tr>
<tr class="separator:abf692c0a9ad3c30b48580ffa37b92300"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f9d8e38826f754a709365f8890bab96" id="r_a3f9d8e38826f754a709365f8890bab96"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3f9d8e38826f754a709365f8890bab96">download</a> (const std::string &amp;from, const std::string &amp;dest=&quot;&quot;, bool autoRun=true)=0</td></tr>
<tr class="memdesc:a3f9d8e38826f754a709365f8890bab96"><td class="mdescLeft">&#160;</td><td class="mdescRight">下载文件操作  <br /></td></tr>
<tr class="separator:a3f9d8e38826f754a709365f8890bab96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbf6f4f25334a5d82fa9c58f05333ab9" id="r_abbf6f4f25334a5d82fa9c58f05333ab9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abbf6f4f25334a5d82fa9c58f05333ab9">download</a> (const std::string &amp;from, const std::string &amp;dest, std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, uint8_t *, size_t) &gt; cb, bool autoRun=true)=0</td></tr>
<tr class="memdesc:abbf6f4f25334a5d82fa9c58f05333ab9"><td class="mdescLeft">&#160;</td><td class="mdescRight">下载操作函数。操作完成后使用回调函数通知操作结果  <br /></td></tr>
<tr class="separator:abbf6f4f25334a5d82fa9c58f05333ab9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc6c882edb72e2b071088d08b248d4fa" id="r_adc6c882edb72e2b071088d08b248d4fa"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#adc6c882edb72e2b071088d08b248d4fa">download</a> (const std::string &amp;from, char *buffer, std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, uint8_t *, size_t) &gt; cb, bool autoRun=true)=0</td></tr>
<tr class="memdesc:adc6c882edb72e2b071088d08b248d4fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">将数据下载到内存中  <br /></td></tr>
<tr class="separator:adc6c882edb72e2b071088d08b248d4fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bcaea2ba4f416a19479b33c021d1088" id="r_a5bcaea2ba4f416a19479b33c021d1088"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5bcaea2ba4f416a19479b33c021d1088">download</a> (const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;from, const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;dest, bool autoRun=true)=0</td></tr>
<tr class="memdesc:a5bcaea2ba4f416a19479b33c021d1088"><td class="mdescLeft">&#160;</td><td class="mdescRight">批量下载文件。  <br /></td></tr>
<tr class="separator:a5bcaea2ba4f416a19479b33c021d1088"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68d1d4801f66115b8db3577ef2488a0b" id="r_a68d1d4801f66115b8db3577ef2488a0b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a68d1d4801f66115b8db3577ef2488a0b">download</a> (const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;from, const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;dest, std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, uint8_t *, size_t) &gt; cb, bool autoRun=true)=0</td></tr>
<tr class="memdesc:a68d1d4801f66115b8db3577ef2488a0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">批量下载文件，使用回调函数通知操作结果和过程  <br /></td></tr>
<tr class="separator:a68d1d4801f66115b8db3577ef2488a0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9b1abef0edcb8552d170cc2b5034477" id="r_ad9b1abef0edcb8552d170cc2b5034477"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad9b1abef0edcb8552d170cc2b5034477">upload</a> (const std::string &amp;file, const std::string &amp;remote_file, bool autoRun=true)=0</td></tr>
<tr class="memdesc:ad9b1abef0edcb8552d170cc2b5034477"><td class="mdescLeft">&#160;</td><td class="mdescRight">上传文件到服务器  <br /></td></tr>
<tr class="separator:ad9b1abef0edcb8552d170cc2b5034477"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dbd584d9b1b67c3ad196d184aa50a5a" id="r_a7dbd584d9b1b67c3ad196d184aa50a5a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7dbd584d9b1b67c3ad196d184aa50a5a">upload</a> (const std::string &amp;file, const std::string &amp;remote_file, std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, size_t)&gt; cb, bool autoRun=true)=0</td></tr>
<tr class="separator:a7dbd584d9b1b67c3ad196d184aa50a5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0af74d6a59403a3270013c71d5445114" id="r_a0af74d6a59403a3270013c71d5445114"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0af74d6a59403a3270013c71d5445114">upload</a> (const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;from, bool autoRun=true)=0</td></tr>
<tr class="memdesc:a0af74d6a59403a3270013c71d5445114"><td class="mdescLeft">&#160;</td><td class="mdescRight">批量上传操作  <br /></td></tr>
<tr class="separator:a0af74d6a59403a3270013c71d5445114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a882fb4e07e8471ed2392c8914c5f23" id="r_a5a882fb4e07e8471ed2392c8914c5f23"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5a882fb4e07e8471ed2392c8914c5f23">upload</a> (const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;file, std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, size_t)&gt; cb, bool autoRun)=0</td></tr>
<tr class="separator:a5a882fb4e07e8471ed2392c8914c5f23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa40dbce4a27a4eda48c863eed681ec5c" id="r_aa40dbce4a27a4eda48c863eed681ec5c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa40dbce4a27a4eda48c863eed681ec5c">del</a> (const std::string &amp;rem)=0</td></tr>
<tr class="memdesc:aa40dbce4a27a4eda48c863eed681ec5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除远程文件  <br /></td></tr>
<tr class="separator:aa40dbce4a27a4eda48c863eed681ec5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c4fdddfdaf3ede63c2e888a70e04ef5" id="r_a3c4fdddfdaf3ede63c2e888a70e04ef5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3c4fdddfdaf3ede63c2e888a70e04ef5">setUser</a> (const std::string &amp;acc, const std::string &amp;pswd)=0</td></tr>
<tr class="memdesc:a3c4fdddfdaf3ede63c2e888a70e04ef5"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置用户名和密码  <br /></td></tr>
<tr class="separator:a3c4fdddfdaf3ede63c2e888a70e04ef5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92213b2aa32dc9d1abce057005d56ab3" id="r_a92213b2aa32dc9d1abce057005d56ab3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a92213b2aa32dc9d1abce057005d56ab3">addUrl</a> (const std::string &amp;url)=0</td></tr>
<tr class="memdesc:a92213b2aa32dc9d1abce057005d56ab3"><td class="mdescLeft">&#160;</td><td class="mdescRight">指定URL  <br /></td></tr>
<tr class="separator:a92213b2aa32dc9d1abce057005d56ab3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1596fd99e0831eb2ec2cabc4c712dee3" id="r_a1596fd99e0831eb2ec2cabc4c712dee3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1596fd99e0831eb2ec2cabc4c712dee3">run</a> ()=0</td></tr>
<tr class="separator:a1596fd99e0831eb2ec2cabc4c712dee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac59b73319c207e2584e1c83c31396f8e" id="r_ac59b73319c207e2584e1c83c31396f8e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ac59b73319c207e2584e1c83c31396f8e">run</a> (std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, size_t, int, const std::string &amp;) &gt; cb)=0</td></tr>
<tr class="separator:ac59b73319c207e2584e1c83c31396f8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5e67d4a2f534826e5493ed89ba450a3" id="r_ae5e67d4a2f534826e5493ed89ba450a3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae5e67d4a2f534826e5493ed89ba450a3">ls</a> (<a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;rst)=0</td></tr>
<tr class="memdesc:ae5e67d4a2f534826e5493ed89ba450a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">列出远程目录内容  <br /></td></tr>
<tr class="separator:ae5e67d4a2f534826e5493ed89ba450a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13fcf3f28b7bbf58f83321e93fb7a600" id="r_a13fcf3f28b7bbf58f83321e93fb7a600"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a13fcf3f28b7bbf58f83321e93fb7a600">ls</a> (std::function&lt; void(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;) &gt; cb)=0</td></tr>
<tr class="separator:a13fcf3f28b7bbf58f83321e93fb7a600"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b200bd334596fb97137ebe61b6034e2" id="r_a6b200bd334596fb97137ebe61b6034e2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6b200bd334596fb97137ebe61b6034e2">access</a> (const std::string &amp;url, int type)=0</td></tr>
<tr class="memdesc:a6b200bd334596fb97137ebe61b6034e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">和linux access函数一样，用来检查文件的可访问性  <br /></td></tr>
<tr class="separator:a6b200bd334596fb97137ebe61b6034e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a9cd7da47b67cd365bc9060ffd91f46" id="r_a7a9cd7da47b67cd365bc9060ffd91f46"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7a9cd7da47b67cd365bc9060ffd91f46">cd</a> (const std::string &amp;path)=0</td></tr>
<tr class="memdesc:a7a9cd7da47b67cd365bc9060ffd91f46"><td class="mdescLeft">&#160;</td><td class="mdescRight">切换远程目录路径  <br /></td></tr>
<tr class="separator:a7a9cd7da47b67cd365bc9060ffd91f46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f1bf441284256b7f2799a4885345825" id="r_a5f1bf441284256b7f2799a4885345825"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5f1bf441284256b7f2799a4885345825">size</a> (const std::string &amp;file)=0</td></tr>
<tr class="memdesc:a5f1bf441284256b7f2799a4885345825"><td class="mdescLeft">&#160;</td><td class="mdescRight">读取远程文件的文件大小  <br /></td></tr>
<tr class="separator:a5f1bf441284256b7f2799a4885345825"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a963d48b061a3e66bd4b3cd73123262db" id="r_a963d48b061a3e66bd4b3cd73123262db"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a963d48b061a3e66bd4b3cd73123262db">errMsg</a> (<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> e)</td></tr>
<tr class="separator:a963d48b061a3e66bd4b3cd73123262db"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="../../dc/d8b/file_svr_itfc_8hpp_source.html">fileSvrItfc.hpp</a> 第 <a class="el" href="../../dc/d8b/file_svr_itfc_8hpp_source.html#l00013">13</a> 行定义.</p>
</div><h2 class="groupheader">成员枚举类型说明</h2>
<a id="a4caa50c3e01e22c71bb52d16657c48d0" name="a4caa50c3e01e22c71bb52d16657c48d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4caa50c3e01e22c71bb52d16657c48d0">&#9670;&#160;</a></span>emErrCode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">wheels::iFileService::emErrCode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a59b1c41de43229a4e52a1c606fa8cd81" name="a4caa50c3e01e22c71bb52d16657c48d0a59b1c41de43229a4e52a1c606fa8cd81"></a>ERR_DOWNLOAD_OSS&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a557568da9c09c7d18db885715b74fb69" name="a4caa50c3e01e22c71bb52d16657c48d0a557568da9c09c7d18db885715b74fb69"></a>ERR_SYS_VAR&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a72ba8dd7c1d1a10f550a4959d862a241" name="a4caa50c3e01e22c71bb52d16657c48d0a72ba8dd7c1d1a10f550a4959d862a241"></a>ERR_CANCEL_TRANSFER&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a519e29bbff6bfe2bd3367baa832a728e" name="a4caa50c3e01e22c71bb52d16657c48d0a519e29bbff6bfe2bd3367baa832a728e"></a>ERR_UNSUPPORTED_PROTOCOL&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a6d5f22ec546b93a49fab7dcf9c189b18" name="a4caa50c3e01e22c71bb52d16657c48d0a6d5f22ec546b93a49fab7dcf9c189b18"></a>ERR_INIT_CURL&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0ac2924800f7928a074967b04b60b94139" name="a4caa50c3e01e22c71bb52d16657c48d0ac2924800f7928a074967b04b60b94139"></a>ERR_CONNECT_SVR&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a0bc456b503b6a2f5adf24eb6cbe43845" name="a4caa50c3e01e22c71bb52d16657c48d0a0bc456b503b6a2f5adf24eb6cbe43845"></a>ERR_FILE_DOWNLOAD_TRANSFER&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a4872446ba63c055e1a31807fd3c4fa34" name="a4caa50c3e01e22c71bb52d16657c48d0a4872446ba63c055e1a31807fd3c4fa34"></a>ERR_FILE_UPLOAD_TRANSFER&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0ac208a4ce08f3a5f4295b17f7b46f4579" name="a4caa50c3e01e22c71bb52d16657c48d0ac208a4ce08f3a5f4295b17f7b46f4579"></a>ERR_CTX_NULL&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a5b268e5248c078c7cbb7cde62cf324c4" name="a4caa50c3e01e22c71bb52d16657c48d0a5b268e5248c078c7cbb7cde62cf324c4"></a>ERR_ALLOC_MEM&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a9242d18f17c2cee6eb4d3a800cc009e0" name="a4caa50c3e01e22c71bb52d16657c48d0a9242d18f17c2cee6eb4d3a800cc009e0"></a>ERR_CREATE_DEST_FILE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0aff397765753060ba7ad3fe5388920cd2" name="a4caa50c3e01e22c71bb52d16657c48d0aff397765753060ba7ad3fe5388920cd2"></a>ERR_CURL_SET_OPT&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0aa3386d6d37fe9fd850252dfd37b2b741" name="a4caa50c3e01e22c71bb52d16657c48d0aa3386d6d37fe9fd850252dfd37b2b741"></a>ERR_USER_OR_PSWD&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a068f0f9561e975a8a13e02ea53597567" name="a4caa50c3e01e22c71bb52d16657c48d0a068f0f9561e975a8a13e02ea53597567"></a>ERR_CURL_PERFORM&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0afdb7aed7a2a2ec16100b7631c847de65" name="a4caa50c3e01e22c71bb52d16657c48d0afdb7aed7a2a2ec16100b7631c847de65"></a>ERR_OPEN_LOC_FILE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a482fce143b86951bbbef6530d46d46ad" name="a4caa50c3e01e22c71bb52d16657c48d0a482fce143b86951bbbef6530d46d46ad"></a>ERR_NO_SRC_FILE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a28822492bef449671e9141752f029ff0" name="a4caa50c3e01e22c71bb52d16657c48d0a28822492bef449671e9141752f029ff0"></a>ERR_DESC_NULL&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a3968149e28f9f41001ee7c3ad7fc7446" name="a4caa50c3e01e22c71bb52d16657c48d0a3968149e28f9f41001ee7c3ad7fc7446"></a>ERR_EMPTY_URL&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a13660432e6aaf3be08861a993e1ed516" name="a4caa50c3e01e22c71bb52d16657c48d0a13660432e6aaf3be08861a993e1ed516"></a>ERR_FILE_NOT_FOUND&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0acdfdd12e96fab9eb13eb90b0b088845d" name="a4caa50c3e01e22c71bb52d16657c48d0acdfdd12e96fab9eb13eb90b0b088845d"></a>ERR_ACCESS_NOT_SUPPORT&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0aabda220d3cf6da350f219ab2547770e9" name="a4caa50c3e01e22c71bb52d16657c48d0aabda220d3cf6da350f219ab2547770e9"></a>STATUS_TRANS_FINISH&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a172916c3c608d38b12c8c59e814964f3" name="a4caa50c3e01e22c71bb52d16657c48d0a172916c3c608d38b12c8c59e814964f3"></a>STATUS_TRANSING&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a162a4d8662445e2d2e5d21d29e222bf8" name="a4caa50c3e01e22c71bb52d16657c48d0a162a4d8662445e2d2e5d21d29e222bf8"></a>ERR_INIT_FTP&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0aebf9f08a4e2e6bc291b32e9ae7e6efa3" name="a4caa50c3e01e22c71bb52d16657c48d0aebf9f08a4e2e6bc291b32e9ae7e6efa3"></a>ERR_DELE_OSS_FILE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0ab1c5ac4e88ff4ec5333e43ecb4f8cc43" name="a4caa50c3e01e22c71bb52d16657c48d0ab1c5ac4e88ff4ec5333e43ecb4f8cc43"></a>ERR_LS_OSS_FILE&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a09b39c7f67f8f42e3466156fde2c4a74" name="a4caa50c3e01e22c71bb52d16657c48d0a09b39c7f67f8f42e3466156fde2c4a74"></a>ERR_UPLOAD_OSS&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a4caa50c3e01e22c71bb52d16657c48d0a1b4ffc5a9b1fe92b4ef2140d02895b78" name="a4caa50c3e01e22c71bb52d16657c48d0a1b4ffc5a9b1fe92b4ef2140d02895b78"></a>OK&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">在文件 <a class="el" href="../../dc/d8b/file_svr_itfc_8hpp_source.html">fileSvrItfc.hpp</a> 第 <a class="el" href="../../dc/d8b/file_svr_itfc_8hpp_source.html#l00015">15</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="aaef3e45a097583e13ad0a506f6f16e69" name="aaef3e45a097583e13ad0a506f6f16e69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaef3e45a097583e13ad0a506f6f16e69">&#9670;&#160;</a></span>~iFileService()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual wheels::iFileService::~iFileService </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../dc/d8b/file_svr_itfc_8hpp_source.html">fileSvrItfc.hpp</a> 第 <a class="el" href="../../dc/d8b/file_svr_itfc_8hpp_source.html#l00045">45</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a6b200bd334596fb97137ebe61b6034e2" name="a6b200bd334596fb97137ebe61b6034e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b200bd334596fb97137ebe61b6034e2">&#9670;&#160;</a></span>access()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> wheels::iFileService::access </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>url</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int</td>          <td class="paramname"><span class="paramname"><em>type</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>和linux access函数一样，用来检查文件的可访问性 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">url[</td><td>I ]， 要访问的文件的路径 </td></tr>
    <tr><td class="paramname">type[</td><td>I ]， 检查的类型 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>操作成功返回OK ，否则返回错误代码 </dd></dl>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a9a63b3f41a744e57ba759cd65fe9bcca">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a0e52b512e1a2af7072249b4303a8b694">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#aeef247fb37efdd445f4f69da0adeca3b">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a92213b2aa32dc9d1abce057005d56ab3" name="a92213b2aa32dc9d1abce057005d56ab3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92213b2aa32dc9d1abce057005d56ab3">&#9670;&#160;</a></span>addUrl()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::addUrl </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>url</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>指定URL </p>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a1a1d44271c77d35e24604ec320f12481">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a3c49d5c487d8d09e1433afc6253892c1">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a68ba399064b9b5f56c0d85fe407643b4">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a4c8066770e383bad17dabe1fad804779" name="a4c8066770e383bad17dabe1fad804779"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c8066770e383bad17dabe1fad804779">&#9670;&#160;</a></span>bufferSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::bufferSize </td>
          <td>(</td>
          <td class="paramtype">size_t</td>          <td class="paramname"><span class="paramname"><em>s</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#af1804b32c8d7332c05434d04032bec35">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a76406c4f68eda16696689e8e31192173">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a4c133a2aae1b9855feeaf9b859d321f0">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a7a9cd7da47b67cd365bc9060ffd91f46" name="a7a9cd7da47b67cd365bc9060ffd91f46"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a9cd7da47b67cd365bc9060ffd91f46">&#9670;&#160;</a></span>cd()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> wheels::iFileService::cd </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>path</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>切换远程目录路径 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>， 路径字符串 </td></tr>
  </table>
  </dd>
</dl>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a3367bb5c19db3eacd4dfdab3fea114ff">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a4eb6d21e7707a01036d3a7e9301b2de3">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a4637ba5bdafa422175855e699c4b4cc1">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="aa40dbce4a27a4eda48c863eed681ec5c" name="aa40dbce4a27a4eda48c863eed681ec5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa40dbce4a27a4eda48c863eed681ec5c">&#9670;&#160;</a></span>del()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wheels::iFileService::del </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>rem</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除远程文件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">rem[</td><td>I ] 远程文件名 </td></tr>
  </table>
  </dd>
</dl>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#ac156a5ce5e1b6a5a0a545086e85cfb04">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a9113414b3009b797ab62da473ec4f33a">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a896d85e83b36058f957a9988fa75f385">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a5bcaea2ba4f416a19479b33c021d1088" name="a5bcaea2ba4f416a19479b33c021d1088"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bcaea2ba4f416a19479b33c021d1088">&#9670;&#160;</a></span>download() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wheels::iFileService::download </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>dest</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>批量下载文件。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">from</td><td></td></tr>
    <tr><td class="paramname">dest</td><td></td></tr>
    <tr><td class="paramname">autoRun</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回true, 否则返回false </dd></dl>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#aa91d0a2225e168dc355ed6b82a08a621">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a26fa2678dbdf24b02a0c73e59b9b2cfc">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#ac018be0b469a6a360472db8f4afa4fe5">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a68d1d4801f66115b8db3577ef2488a0b" name="a68d1d4801f66115b8db3577ef2488a0b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68d1d4801f66115b8db3577ef2488a0b">&#9670;&#160;</a></span>download() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::download </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>dest</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, uint8_t *, size_t) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>批量下载文件，使用回调函数通知操作结果和过程 </p>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#af11ac665480d5ba2fbef8a4d5d294660">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a05d8eaf1dabcf5acdc1aed44311b0581">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#abd2cb7a335829c91d308e629e57d0fe6">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="adc6c882edb72e2b071088d08b248d4fa" name="adc6c882edb72e2b071088d08b248d4fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc6c882edb72e2b071088d08b248d4fa">&#9670;&#160;</a></span>download() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::download </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *</td>          <td class="paramname"><span class="paramname"><em>buffer</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, uint8_t *, size_t) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>将数据下载到内存中 </p>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a1f9de9cf082e69630acbc7a68eb49b42">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a21c36b2ddba22f2961b0843af2bd9d1e">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a275b22033e343e56d479525f9a142506">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="abbf6f4f25334a5d82fa9c58f05333ab9" name="abbf6f4f25334a5d82fa9c58f05333ab9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbf6f4f25334a5d82fa9c58f05333ab9">&#9670;&#160;</a></span>download() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::download </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>dest</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, uint8_t *, size_t) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>下载操作函数。操作完成后使用回调函数通知操作结果 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cb,操作完成后的回调函数。这个函数用来通知操作结果，函数的原型如下：</td><td>bool fun( errCode err , size_t dataSize , const std::string&amp; fileStorePath ); </td></tr>
  </table>
  </dd>
</dl>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#ae166624002962e005d289a98b7d44dfe">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a2a785773fc259042d522978a94a65895">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a46aabb0b12d38c092f592615f6ee9a07">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a3f9d8e38826f754a709365f8890bab96" name="a3f9d8e38826f754a709365f8890bab96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f9d8e38826f754a709365f8890bab96">&#9670;&#160;</a></span>download() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wheels::iFileService::download </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>dest</em></span><span class="paramdefsep"> = </span><span class="paramdefval">&quot;&quot;</span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>下载文件操作 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">from[</td><td>I ]源文件 </td></tr>
    <tr><td class="paramname">dest[</td><td>I ]目标文件 </td></tr>
    <tr><td class="paramname">autoRun[</td><td>I ]，自动开始执行操作 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>操作成功返回true，否则返回false </dd></dl>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#af3d24d7ed21669a57c47806d1d807b02">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#ae1297558f832053edb5ced7a8c66ea08">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a21da1d59073f864299d4c9d54683d385">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a963d48b061a3e66bd4b3cd73123262db" name="a963d48b061a3e66bd4b3cd73123262db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a963d48b061a3e66bd4b3cd73123262db">&#9670;&#160;</a></span>errMsg()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::string wheels::iFileService::errMsg </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a></td>          <td class="paramname"><span class="paramname"><em>e</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ae5e67d4a2f534826e5493ed89ba450a3" name="ae5e67d4a2f534826e5493ed89ba450a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5e67d4a2f534826e5493ed89ba450a3">&#9670;&#160;</a></span>ls() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a> wheels::iFileService::ls </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>rst</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>列出远程目录内容 </p>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a68e7693ef0431725000559b87767b28d">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a668a31959802c883c07febdaf0da8e47">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a304fe385a4b2f0f38a893494de7ba827">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a13fcf3f28b7bbf58f83321e93fb7a600" name="a13fcf3f28b7bbf58f83321e93fb7a600"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13fcf3f28b7bbf58f83321e93fb7a600">&#9670;&#160;</a></span>ls() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::ls </td>
          <td>(</td>
          <td class="paramtype">std::function&lt; void(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a2380188d8ee91d8ac56dd4fefae6ede7">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#ad8a887103ef522828148481596e99e8e">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a4238eff714de9c44cb6aed9b5a0f5a1c">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="abf692c0a9ad3c30b48580ffa37b92300" name="abf692c0a9ad3c30b48580ffa37b92300"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf692c0a9ad3c30b48580ffa37b92300">&#9670;&#160;</a></span>overtime()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::overtime </td>
          <td>(</td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>seconds</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a624d9ac0a0dcd5db39bbb46c2b9ca6cc">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#ab1920b0d6e18ff15b4077ca8f063da74">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a93b79ebe38efd6f8766f03f8c921bf32">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a1596fd99e0831eb2ec2cabc4c712dee3" name="a1596fd99e0831eb2ec2cabc4c712dee3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1596fd99e0831eb2ec2cabc4c712dee3">&#9670;&#160;</a></span>run() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::run </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#ae7c50e1926a1395ba5b266fd179bccee">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a9d6813e665ac696884b0ed4a03bc5429">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a2a6c6114d060117099988de17487e174">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="ac59b73319c207e2584e1c83c31396f8e" name="ac59b73319c207e2584e1c83c31396f8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac59b73319c207e2584e1c83c31396f8e">&#9670;&#160;</a></span>run() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::run </td>
          <td>(</td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, size_t, int, const std::string &amp;) &gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a3d6b0a72cb49c22ca27663d652d552a1">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a71ba312bd5279212a4e79a452a00f5f7">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#af9e5217a2b2110049993ce5729860e9a">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a3c4fdddfdaf3ede63c2e888a70e04ef5" name="a3c4fdddfdaf3ede63c2e888a70e04ef5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c4fdddfdaf3ede63c2e888a70e04ef5">&#9670;&#160;</a></span>setUser()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::setUser </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>acc</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>pswd</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置用户名和密码 </p>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a13eae86f9bd8716d6465bf883da8233c">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#aaa76face34caef100b7f7136cf4e270f">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a007996079e967c2149e3062930e863c3">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a5f1bf441284256b7f2799a4885345825" name="a5f1bf441284256b7f2799a4885345825"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f1bf441284256b7f2799a4885345825">&#9670;&#160;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual size_t wheels::iFileService::size </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>读取远程文件的文件大小 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">file[</td><td>I ] 文件路径 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回文件大小 </dd></dl>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#af748fd213d98fa485f3e29fd3358894e">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a7599b08434490d08a0bf1dc79c5d0b0c">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#adbd8973f289389753695f519d1a892eb">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a5a882fb4e07e8471ed2392c8914c5f23" name="a5a882fb4e07e8471ed2392c8914c5f23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a882fb4e07e8471ed2392c8914c5f23">&#9670;&#160;</a></span>upload() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::upload </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, size_t)&gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#accb5424154991b92f37f274f15200113">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a2455ae312bda209e423b82040802aa1d">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a6ad84e779905dd36729134990ed315e4">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a0af74d6a59403a3270013c71d5445114" name="a0af74d6a59403a3270013c71d5445114"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0af74d6a59403a3270013c71d5445114">&#9670;&#160;</a></span>upload() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wheels::iFileService::upload </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../df/d8d/namespacewheels.html#a17042f775c3493c1f9592ca7883dbd5e">ArrayString</a> &amp;</td>          <td class="paramname"><span class="paramname"><em>from</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>批量上传操作 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">from[</td><td>I ] </td></tr>
    <tr><td class="paramname">dest[</td><td>I ] </td></tr>
    <tr><td class="paramname">autoRun[</td><td>I ] </td></tr>
  </table>
  </dd>
</dl>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a68926e3ee8ed4a544688030648e6a11b">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a081f19dca8a92472e71a0f01f89c0e96">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#aabdbb4e62c62eec227a2be7fcbbb9897">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="ad9b1abef0edcb8552d170cc2b5034477" name="ad9b1abef0edcb8552d170cc2b5034477"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9b1abef0edcb8552d170cc2b5034477">&#9670;&#160;</a></span>upload() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wheels::iFileService::upload </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>remote_file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>上传文件到服务器 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">file[</td><td>I ], 本地文件 </td></tr>
    <tr><td class="paramname">remote_file[</td><td>I ], 远程文件 </td></tr>
    <tr><td class="paramname">autoRun[</td><td>I ]，调用后是否自动运行，如果不是自动运行任务将在后台挂起 </td></tr>
    <tr><td class="paramname">cb[</td><td>I ], 进度回调函数用来通知上传进度 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回true，否则返回false </dd></dl>
<dl class="section note"><dt>注解</dt><dd>目前仅仅支持自动运行 </dd></dl>

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a6c61d77f25ef9dea32e80053742a5a77">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a05feb0263f26899dc82d5d37563f527f">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a869dd5ae61ecc763d19a2b316b82e021">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<a id="a7dbd584d9b1b67c3ad196d184aa50a5a" name="a7dbd584d9b1b67c3ad196d184aa50a5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dbd584d9b1b67c3ad196d184aa50a5a">&#9670;&#160;</a></span>upload() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wheels::iFileService::upload </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>remote_file</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; bool(<a class="el" href="#a4caa50c3e01e22c71bb52d16657c48d0">emErrCode</a>, size_t)&gt;</td>          <td class="paramname"><span class="paramname"><em>cb</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool</td>          <td class="paramname"><span class="paramname"><em>autoRun</em></span><span class="paramdefsep"> = </span><span class="paramdefval">true</span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>在 <a class="el" href="../../db/d0b/classwheels_1_1ali_o_s_s.html#a2322e2d02d40bb34116aaed8d51a8589">wheels::aliOSS</a>, <a class="el" href="../../d4/d31/classwheels_1_1curl_ftp.html#a13b876b8b1d24c1492e05dbb15983deb">wheels::curlFtp</a> , 以及 <a class="el" href="../../d3/d55/classwheels_1_1curl_http.html#a86eb9847d8ec4cd0cee921107d12686d">wheels::curlHttp</a> 内被实现.</p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>include/details/<a class="el" href="../../dc/d8b/file_svr_itfc_8hpp_source.html">fileSvrItfc.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
